diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-03 09:50:39 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-03 09:50:39 -0700 |
commit | 03c3fa0a3bf48dcb024263a9ea41daecacbc6efa (patch) | |
tree | 8fcd8410094e86cb9e58efd835e8e70b6b928788 /fs/udf/udftime.c | |
parent | 3e850509e19b4b013bf6aee7c0d24d047c4b968f (diff) | |
parent | 146bca72c7e6ba52de82a63b1fce7934dc103dbc (diff) | |
download | kernel_samsung_tuna-03c3fa0a3bf48dcb024263a9ea41daecacbc6efa.zip kernel_samsung_tuna-03c3fa0a3bf48dcb024263a9ea41daecacbc6efa.tar.gz kernel_samsung_tuna-03c3fa0a3bf48dcb024263a9ea41daecacbc6efa.tar.bz2 |
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-udf-2.6
* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-udf-2.6:
udf: Don't write integrity descriptor too often
udf: Try anchor in block 256 first
udf: Some type fixes and cleanups
udf: use hardware sector size
udf: fix novrs mount option
udf: Fix oops when invalid character in filename occurs
udf: return f_fsid for statfs(2)
udf: Add checks to not underflow sector_t
udf: fix default mode and dmode options handling
udf: fix sparse warnings:
udf: unsigned last[i] cannot be less than 0
udf: implement mode and dmode mounting options
udf: reduce stack usage of udf_get_filename
udf: reduce stack usage of udf_load_pvoldesc
Fix the udf code not to pass structs on stack where possible.
Remove struct typedefs from fs/udf/ecma_167.h et al.
Diffstat (limited to 'fs/udf/udftime.c')
-rw-r--r-- | fs/udf/udftime.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/udf/udftime.c b/fs/udf/udftime.c index 5f81165..b8c828c 100644 --- a/fs/udf/udftime.c +++ b/fs/udf/udftime.c @@ -85,7 +85,8 @@ extern struct timezone sys_tz; #define SECS_PER_HOUR (60 * 60) #define SECS_PER_DAY (SECS_PER_HOUR * 24) -struct timespec *udf_disk_stamp_to_time(struct timespec *dest, timestamp src) +struct timespec * +udf_disk_stamp_to_time(struct timespec *dest, struct timestamp src) { int yday; u16 typeAndTimezone = le16_to_cpu(src.typeAndTimezone); @@ -116,7 +117,8 @@ struct timespec *udf_disk_stamp_to_time(struct timespec *dest, timestamp src) return dest; } -timestamp *udf_time_to_disk_stamp(timestamp *dest, struct timespec ts) +struct timestamp * +udf_time_to_disk_stamp(struct timestamp *dest, struct timespec ts) { long int days, rem, y; const unsigned short int *ip; |