[Concept,17/21] dir.c: Remove setlease from file_operations

Message ID 20260416165733.2923423-18-sjg@u-boot.org
State New
Headers
Series fs: Add ISO 9660 filesystem driver ported from Linux |

Commit Message

Simon Glass April 16, 2026, 4:57 p.m. UTC
  From: Simon Glass <sjg@chromium.org>

U-Boot does not support file leases. Remove the setlease callback
from isofs_dir_operations since generic_setlease() is not available
in the U-Boot compatibility layer.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 fs/isofs/dir.c | 1 -
 1 file changed, 1 deletion(-)
  

Patch

diff --git a/fs/isofs/dir.c b/fs/isofs/dir.c
index 6065f46f762..2ff7fd22375 100644
--- a/fs/isofs/dir.c
+++ b/fs/isofs/dir.c
@@ -272,7 +272,6 @@  const struct file_operations isofs_dir_operations =
 	.llseek = generic_file_llseek,
 	.read = generic_read_dir,
 	.iterate_shared = isofs_readdir,
-	.setlease = generic_setlease,
 };
 
 /*